package com.project.mapper;

import com.project.entity.Discuss;
import com.project.entity.KnowLedge;
import com.project.entity.Order;
import com.project.entity.Question;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

//农业操作
@Mapper
public interface QuestionMapper {

    //分页查询
    public List<Question> findPage(@Param("pageIndex") Integer pageIndex,
                                   @Param("pageCount") Integer pageCount);

    //添加问题
    void addQuestion(@Param("question") Question question);
}
